import Mock from 'mockjs'

Mock.mock(process.env.VUE_APP_API_BASE_URL + 'paper/author_rec', 'post', (request) => {
    return{
        status: {
            code: 0,
            message: "获取推荐成功"
          },
          data: {
            total:1,
            paperList:[
                {
                    paper_id: 4,
                    title: "Causal Disentangled Recommendation Against User Preference Shifts",
                    authors:[
                        {
                            author_id:10,
                            author_name:"M. Meyer"
                        },
                        {
                            author_id:9,
                            author_name:"F. Iocco"
                        },
                        {
                            author_id:11,
                            author_name:"M. Doro"
                        }
                        ],
                    update_date: "2021-06-10",
                    favorite: false
                },
                {
                    paper_id: 5,
                    title: "SUSY Les Houches Accord: Interfacing SUSY Spectrum Calculators, Decay Packages, and Event Generators",
                    authors:[
                        {
                            author_id:12,
                            author_name:"P. Skands"
                        },
                        {
                            author_id:13,
                            author_name:"B.C. Allanach"
                        },
                        {
                            author_id:14,
                            author_name:"H. Baer"
                        }
                        ],
                    update_date: "2009-11-23",
                    favorite: false
                }
            ]
          }
    }
})